home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 23
/
AACD 23.iso
/
AACD
/
Sound
/
mp3play
/
mp3Config
< prev
next >
Wrap
Text File
|
2001-06-03
|
764b
|
26 lines
/*
mp3Config.rx © 2001 Carl Svensson
Configuration Tool for mp3Play.rx
*/
if ~show("L","rexxreqtools.library") then
call addlib("rexxreqtools.library",5,-30)
if ~show("L","rexxsupport.library") then
call addlib("rexxsupport.library",0,-30,0)
choice=rtezrequest("First, I want to know where MPEGA is located")
prog=rtfilerequest("c:","mpega","Location of MPEGA")
choice=rtezrequest("Now, point me to your MP3 directory")
mp3d=rtfilerequest("work:data/mp3",,"Select MP3 dir",,"rtfi_flags=freqf_nofiles")
choice=rtezrequest("Now, enter the option arguments for MPEGA")
opts=rtgetstring("-d 2 -q 1 -p 3 -b 32",,"MPEGA arguments")
confstr=prog";"mp3d";"opts
open(fptr,"s:mp3play.cfg","W")
writeln(fptr,confstr)
close(fptr)
choice=rtezrequest("All done!")